{% extends "counterpoint/forum_base.html" %}

{% block title %}Viewing Profile - {{ block.super }}{% endblock %}

{% block breadcrumbs %}
  {{ block.super }} &raquo; Editing Profile
{% endblock %}
{% block breadcrumbs2 %}
  {{ block.super }} &raquo; Editing Profile
{% endblock %}

{% block content %}
        <form method="post" action=".">
          <table>
            <tr class="row2"><td colspan="4">&nbsp;</td></tr>
            <tr class="row2">
              <td>&nbsp;</td>
              <td class="profile_field">
                {{ form.nickname.label_tag }}
              </td>
              <td class="profile_value">
                {{ form.nickname }}
              </td>
              <td>&nbsp;</td>
            </tr>
            <tr class="row2">
              <td>&nbsp;</td>
              <td class="profile_field">
                {{ form.avatar.label_tag }}
              </td>
              <td class="profile_value">
                {{ form.avatar }}
                {% if form.avatar.errors %}<span class="error">* {{ form.avatar.errors|join:", " }}</span>{% endif %}
              </td>
              <td>&nbsp;</td>
            </tr>
            <tr class="row2">
              <td>&nbsp;</td>
              <td class="profile_field">
                {{ form.location.label_tag }}
              </td>
              <td class="profile_value">
                {{ form.location }}
                {% if form.location.errors %}<span class="error">* {{ form.location.errors|join:", " }}</span>{% endif %}
              </td>
              <td>&nbsp;</td>
            </tr>
            <tr class="row2">
              <td>&nbsp;</td>
              <td class="profile_field">
                {{ form.website.label_tag }}
              </td>
              <td class="profile_value">
                {{ form.website }}
                {% if form.website.errors %}<span class="error">* {{ form.website.errors|join:", " }}</span>{% endif %}
              </td>
              <td>&nbsp;</td>
            </tr>
            <tr class="row2">
              <td>&nbsp;</td>
              <td>&nbsp;</td>
              <td><input type="submit" value="Update" /></td>
              <td>&nbsp;</td>
            </tr>
            <tr class="row2"><td colspan="4">&nbsp;</td></tr>
          </table>
        </form>
{% endblock %}
